package com.bdqn.zhang.service.impl;

import com.bdqn.zhang.mapper.UserMapper;
import com.bdqn.zhang.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: tao
 * @Description: talk is cheap,show me the code!
 * @Date: create in 2020/11/25 12:10
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public int count() {
        return userMapper.count();
    }
}
